import { ApiProperty } from '@nestjs/swagger';
import { IsBoolean, IsNotEmpty } from 'class-validator';

export class ToggleVideoVisibilityDto {
  @ApiProperty({ 
    description: '是否公开视频 (true-公开, false-隐藏)', 
    example: true 
  })
  @IsNotEmpty()
  @IsBoolean()
  isPublic: boolean;
}